package cn.com.shaom.learning.sb;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author Sam Sho
 */
@SpringBootApplication
public class SpringbootLogApplication {

    private final static Logger LOGGER = LoggerFactory.getLogger(SpringbootLogApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(SpringbootLogApplication.class, args);
        LOGGER.debug("springboot-log 启动了");
        LOGGER.info("springboot-log 启动了");
        LOGGER.error("springboot-log 启动了");
    }
}
